\documentclass{article}
\usepackage{threeparttable}
\usepackage{graphicx} 
\usepackage{booktabs}
\begin{document}
\begin{table}[h]
\centering
\resizebox{1\width}{!}{ 
\begin{threeparttable}
\caption{Simple Correlation between Global and Local Product Ranks. (China)  \label{correlation1}}
\begin{tabular}{cllllllll} \hline\hline
&\multicolumn{6}{c}{Number of products}\\
To number of countries       &           2  &   3            &    4          &  5         &6-9         &10-19       &20+\\\cmidrule{2-8}% 
&\multicolumn{7}{c}{Data}\\    \cmidrule{2-8}%
2                           & 0.59      & 0.70     & 0.77  & 0.79  & 0.84  & 0.89   & 0.95 \\
3                                               & 0.55      & 0.61     & 0.67  & 0.70  & 0.76  & 0.81   & 0.86 \\
4                           & 0.51      & 0.59     & 0.59  & 0.63  & 0.70  & 0.77   & 0.85 \\
5                           & 0.51      & 0.56     & 0.61  & 0.63  & 0.65  & 0.70   & 0.85 \\
6                           & 0.56      & 0.57     & 0.60  & 0.61  & 0.63  & 0.68   & 0.79 \\
10-19                       & 0.63     & 0.62    & 0.62 & 0.61 & 0.64 & 0.65  & 0.77 \\
20+                         & 0.64     & 0.68    & 0.68 & 0.68 & 0.66 & 0.66  & 0.55 \\
\cmidrule{2-8}%
& \multicolumn{7}{c}{Permuted Monte Carlo}\\   \cmidrule{2-8}%
2                                              & 0.40      & 0.57     & 0.64  & 0.68  & 0.74  & 0.81   & 0.91 \\
3                                              & 0.33      & 0.41     & 0.49  & 0.54  & 0.63  & 0.71   & 0.82 \\
4                                              & 0.30      & 0.36     & 0.41  & 0.47  & 0.55  & 0.67   & 0.78 \\
5                                              & 0.28      & 0.36     & 0.39  & 0.43  & 0.49  & 0.60   & 0.78 \\
6                                              & 0.28      & 0.31     & 0.36  & 0.39  & 0.45  & 0.55   & 0.72 \\
10-19                                      & 0.29     & 0.32    & 0.33 & 0.36 & 0.40 & 0.46  & 0.69 \\
20+                                            & 0.31     & 0.34    & 0.34 & 0.35 & 0.37 & 0.41  & 0.50 \\
\hline\hline
\end{tabular}
\begin{tablenotes}
\small
\item  \noindent  \footnotesize{Note: Correlation between products’ global and local ranks conditional on the number of destinations and number of products a firm exports. }
\end{tablenotes}
\end{threeparttable}
}
\end{table}
\end{document}
